package com.anti.modular.owner.ownerleaseroom.entity;

import com.anti.commom.support.model.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 業主房間關係表
 *
 * @author anti
 * @date 2021-05-20 14:28:47
 */
@Data
@Entity
@Table(name="owner_lease_room")
public class OwnerLeaseRoom{

    /**
     * 主键id
     */
    @Id
    private Long id;

    /**
     * 業主租约主键
     */
    private Long ownerLeaseId;

    /**
     * 房间主键
     */
    private Long roomId;


    private String roomName;

}
